﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DCRF.Common.Definition
{
    public class EventCode
    {
        //bw level events
        public const string AddingBlock = "AddingBlock";
        public const string BlockAdded = "BlockAdded";
        public const string DeletingBlock = "DeletingBlock";
        public const string BlockDeleted = "BlockDeleted";
        public const string BlockLoaded = "BlockLoaded";

        public const string LogWebEvent = "LogWebEvent";
        
        //block-level events
        //these events can cause infinite call loop so disabled currently
        //public const string ProcessingRequest = "ProcessingRequest";
        //public const string RequestProcessed = "RequestProcessed";

        //common  between block and bw
        public const string ExceptionOccured = "ExceptionOccured";

        public const string AttachingEndPoint = "AttachingEndPoint";
        public const string EndPointAttached = "EndPointAttached";
        public const string DetachingEndPoint = "DetachingEndPoint";
        public const string EndPointDetached = "EndPointDetached";
    }
}
